﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.Constants
{
    public static class PhmeeEnum
    {

        /// <summary>
        /// TdEngine属性列 类型枚举
        /// </summary>
        public enum TdEngineAttributeEnum
        {
            /// <summary>
            /// 时间戳
            /// </summary>
            [Description("TIMESTAMP")]
            TIMESTAMP = 0,

            /// <summary>
            /// 浮点型
            /// </summary>
            [Description("FLOAT")]
            FLOAT = 1,

            /// <summary>
            /// 整型
            /// </summary>
            [Description("INT")]
            INT = 2,

            /// <summary>
            /// 长整型
            /// </summary>
            [Description("BIGINT UNSIGNED")]
            BIGINT_UNSIGNED = 3,

            /// <summary>
            /// 字符串类型VARCHAR(64000)
            /// </summary>
            [Description("VARCHAR(64000)")]
            VARCHAR_64000 = 4,

            /// <summary>
            /// Guid类型
            /// </summary>
            [Description("VARCHAR(36)")]
            VARCHAR_36 = 5,

            /// <summary>
            /// 字符串类型NVARCHAR
            /// </summary>
            [Description("NVARCHAR")]
            NVARCHAR = 6,

            /// <summary>
            /// 字符串类型VARCHAR(256)
            /// </summary>
            [Description("VARCHAR(256)")]
            VARCHAR_256 = 7

        }
    }
}
